home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 8 / Revista CD Expert nº 08 CD1.iso / Utilitarios / Especiais / PhotoSuite II / DATA1.CAB / English_Resources / WorkflowsComponent / Photos / EditorPaint.wkf < prev    next >
Encoding:
Text File  |  1999-01-08  |  2.5 KB  |  83 lines

  1. ////////////////////////////////////////////////////////////////
  2. //
  3. //    EditorPaint.wkf
  4. //
  5. //     Main workflow for the Paint Editor
  6. //
  7.  
  8. // Colors
  9. 0    COLOR    0 0 0                    // Foreground color
  10. 1    COLOR    255 255 255                // Background color
  11.  
  12. // Catalog of paint classes
  13. 2    STRING    file:/Resources/CatalogsComponent!Photos!ED_Paint_Settings.pza
  14.  
  15. // For hooking into warp, arguments are donated to warp filter.
  16. 7    INTEGER    50 0 100                        // Canned param 1
  17. 8    INTEGER    50 0 100                        // Canned param 2
  18.  
  19. // Zoom level
  20. 12    INTEGER    100 1 10000
  21.  
  22. //    SmartSelection trace width
  23. 13    INTEGER    25 6 120
  24.  
  25. //    Magic Wand tolerance
  26. 14    INTEGER    50 1 100
  27.  
  28. //    Free Rotate angle
  29. 15    INTEGER    0 -360 360
  30.  
  31. // Preview flag for area special effects
  32. 16    INTEGER    1 0 1
  33.  
  34. 20    0B5265B2-E7C4-11D0-8D14-00C0A847C2EC    // Easel
  35. 19    0B5265B2-E7C4-11D0-8D14-00C0A847C2EC    // Floating Selection Easel
  36.  
  37. // Note: SelectionDraw MUST have a smaller ID number than ImageEdit or ShapeSelection
  38. // This ensures that it gets destroyed first!
  39. 4    662963E0-9C8F-11d1-BB48-0080C857F5E1    // SelectionDraw
  40. 21    FD6DA6D0-3025-11D1-B211-004005001DD1    // ImageEdit
  41. 23    BD3B87E3-F484-11D0-A984-444553540000    // ShapeSelection
  42.  
  43. 30    9F558824-4ECD-11D1-B211-004005001DD1    // editor settings
  44. 31    INTEGER    100    1 100                        // blend factor
  45. 32    FD5E0BCE-61BC-11D1-B211-004005001DD1    // undo stack
  46.  
  47. LINK    0 0 21 1                // link foreground color into editor
  48. LINK    1 0 21 2                // link background color into editor
  49.  
  50.  
  51. LINK    20 0 21 0                // link easel into editor
  52. LINK    19 0 21 7                // link floating selection easel into editor
  53.  
  54. LINK    23 0 21 3                // Shape selection into editor
  55.  
  56. LINK    2 0 30 1                // link catalog into editor settings
  57. // Note: link catalog into editor settings BEFORE linking editor settings into editor!
  58. LINK    30 0 21 4                // editor settings into editor
  59.  
  60. LINK    31 0 21 5                // blend factor into editor
  61.  
  62. LINK    32 0 21 6                // undo stack into editor
  63.  
  64. LINK    16 0 21 8                // preview checkbox into editor
  65.  
  66. LINK    32 0 23 2                // undo stack into shape selection
  67.  
  68. // Link warp slider args into editor.
  69. // Editor will manually link them into the warp filter
  70. LINK    7 0 21 9
  71. LINK    8 0 21 10
  72.  
  73. // Link rotation angle into editor.
  74. LINK    15 0 21 11
  75.  
  76. LINK    21 0 4 0                // image edit into selection draw
  77. LINK    23 0 4 1                // shapeselection into selection draw
  78. LINK    13 0 4 2                // trace width into selection draw
  79. LINK    14 0 4 3                // magic wand tolerance into selection draw
  80.  
  81. // Note: circular link. Leave this link statement last.
  82. LINK    21 0 23 0                // editor links back into shape selection
  83.